package com.kgc.good.goodmanagerservice.mapper;

import com.kgc.good.bean.GoodAddress;
import com.kgc.good.bean.GoodAddressExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodAddressMapper {
    int countByExample(GoodAddressExample example);

    int deleteByExample(GoodAddressExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GoodAddress record);

    int insertSelective(GoodAddress record);

    List<GoodAddress> selectByExample(GoodAddressExample example);

    GoodAddress selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GoodAddress record, @Param("example") GoodAddressExample example);

    int updateByExample(@Param("record") GoodAddress record, @Param("example") GoodAddressExample example);

    int updateByPrimaryKeySelective(GoodAddress record);

    int updateByPrimaryKey(GoodAddress record);
}